import logging
import random
import os,time
class myFileHandler(logging.FileHandler):
    def __init__(self,path,mode):
        fileName=time.strftime("%y%m%d%H%M%S")+".log"
        super(myFileHandler,self).__init__(path+"/"+fileName,mode)